
//弹出层页面
    function func1() {
    //iframe窗
        layer.open({
            type: 2,
            title: false,
            closeBtn: 1, //不显示关闭按钮
                    area: ['440px', '320px'],
            offset: 'auto', //右下角弹出
            shift: 2,
            shadeClose: true, //开启遮罩关闭
            content: ['../../jxzhjynew/login.html', 'yes'], //iframe的url，no代表不显示滚动条

        });
    }
    function func2() {
    //iframe窗            
                layer.open({
                    type: 2,
                    title:false,
                    area: '440px',
                    fixed: true, //不固定
                    content: '../jxzhjynew/register.html',
                    success: function (layero, index) {
                        layer.iframeAuto(index)///////////这里是调用的地方
                        
                    }
                    
                });
    }
    function func3() {
    //iframe窗
        layer.open({
            type: 2,
            title: false,
            closeBtn: 1, //不显示关闭按钮
                    area: ['440px', '665px'],
            offset: 'auto', //右下角弹出
            shift: 2,
            shadeClose: true, //开启遮罩关闭
            content: ['../../jxzhjynew/registersecond.html', 'yes'], //iframe的url，no代表不显示滚动条

        });
    }
    function func4() {
    //iframe窗
        layer.open({
            type: 2,
            title: false,
            closeBtn: 1, //不显示关闭按钮
                    area: ['440px', '430px'],
            offset: 'auto', //右下角弹出
            shift: 2,
            shadeClose: true, //开启遮罩关闭
            content: ['../../jxzhjynew/register.html', 'yes'], //iframe的url，no代表不显示滚动条

        });
    }
    function func5() {
    //iframe窗
        layer.open({
            type: 2,
            title: false,
            closeBtn: 1, //不显示关闭按钮
                    area: ['520px', '650px'],
            offset: 'auto', //右下角弹出
            shift: 2,
            shadeClose: true, //开启遮罩关闭
            content: ['../../jxzhjynew/addadd.html', 'no'], //iframe的url，no代表不显示滚动条

        });
    }



//tab

function changeTab(tabCon_num){
for(i=0;i<=1;i++) { 
 document.getElementById("tabCon_"+i).style.display="none"; //将所有的层都隐藏 
 document.getElementById("tabCo_"+i).className="my-tabslli";// 
 } 
 document.getElementById("tabCon_"+tabCon_num).style.display="block";//显示当前层 
 document.getElementById("tabCo_"+tabCon_num).className="my-tabslli here";// 
} 
function changeTabx(tabCon_num){
for(i=0;i<=2;i++) { 
 document.getElementById("tabCon_"+i).style.display="none"; //将所有的层都隐藏 
 document.getElementById("tabCo_"+i).className="my-order-tabslli";// 
 } 
 document.getElementById("tabCon_"+tabCon_num).style.display="block";//显示当前层 
 document.getElementById("tabCo_"+tabCon_num).className="my-order-tabslli orderhere";// 
} 
function changeTabn(tabCon_num){
for(i=0;i<=1;i++) { 
 document.getElementById("tabCon_"+i).style.display="none"; //将所有的层都隐藏 
 document.getElementById("tabCo_"+i).className="jx-notice-tabslli";// 
 } 
 document.getElementById("tabCon_"+tabCon_num).style.display="block";//显示当前层 
 document.getElementById("tabCo_"+tabCon_num).className="jx-notice-tabslli nohere";// 
} 
//

$(function(){
    $(".jx-train-choice").click(function(){
        $(this).removeClass("jx-train-choice");
        $(this).addClass("jx-train-choicex");
        $(this).siblings().removeClass("jx-train-choicex");
        $(this).siblings().addClass("jx-train-choice");
    });
});

